import request from '@/utils/request'
import { Header } from 'element-ui'
const baseUrl = process.env.NODE_ENV === 'production' ? '' : '/vehicleMap'

export function listLock(query) {
  return request({
    url:baseUrl+ '/lclock',
    method: 'get',
    params: query
  })
}

export function lockdown(data) {
  return request({
    url:baseUrl+ '/mp/lockdown',
    method: 'put',
    data
  })
}
export function lockup(data) {
    return request({
      url:baseUrl+ '/mp/lockup',
      method: 'put',
      data
    })
  }

  export function lockSuspend(data) {
    return request({
      url:baseUrl+ '/mp/lockSuspend',
      method: 'put',
      data
    })
  }